package Frame.screen;

import FCRendering.FCRMaster;
import FCRendering.ImageUtil;

import java.awt.*;

import static FCRendering.FCRMaster.fcv;

public class DefaultJumpactionAnimScreen extends IScreen{
    @Override
    public void dispatchPaintComponent(Graphics g, FCRMaster fcrMaster) {
        // 跳转
        int jumpNum = fcrMaster.fcv.getJumpactionnum();
        if (jumpNum > -1) {
            g.drawImage(fcrMaster.getGameblack().getBlackOfNum((jumpNum > 10) ? 20 - jumpNum : jumpNum), 0,
                    0, fcrMaster.getWidth(), fcrMaster.getHeight(), this);// 跳转
        }

    }

    @Override
    public void setBounds() {

    }
}
